#include <iostream>

using namespace std;

class father {
public:
	father(int s=0):sum(s) {
		cout << "class father con" << endl;
	}
	~father() {
		cout << "class father des" << endl;
	}
private:
	int sum;
};

class son:public father {
public:
	son(int n=0, int s=0):num(n), father(s) {
		cout << "class son con" << endl;
	}	
	~son() {
		cout << "class son des" << endl;
	}
private:
	int num;
};


int main() {
	son s;
	cout << "main()..." << endl;
	return 0;
}

